<!DOCTYPE html>
<html lang="en"xmlns:th="https://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<table>
  <tr>
    <td>姓名</td>
    <td>性别</td>
    <td>年龄</td>
  </tr>
  <tr th:each="entry : ${stuMap}">
    <td th:text="${entry.value.stuName}"></td>
    <td th:text="${entry.value.stuSex}"></td>
    <td th:text="${entry.value.stuAge}"></td>
  </tr>
</table>
</body>
</html>